package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章信息对象 bk_article
 * 
 * @author ruoyi
 * @date 2025-01-12
 */
public class BkArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String articleTitle;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String articleContent;

    /** 文章封面图 */
    @Excel(name = "文章封面图")
    private String articleImg;

    /** 文章简介 */
    @Excel(name = "文章简介")
    private String articleExcerpt;

    /** 标签 */
    @Excel(name = "标签")
    private Long categoryId;

    /** 文章状态 */
    @Excel(name = "文章状态")
    private Long status;
    private Long articleId;
    private Long viewCount;
    private String categoryName;
    private String editorType;

    private String aiExcerpt;

    public String getAiExcerpt() {
        return aiExcerpt;
    }

    public void setAiExcerpt(String aiExcerpt) {
        this.aiExcerpt = aiExcerpt;
    }

    public String getEditorType() {
        return editorType;
    }

    public void setEditorType(String editorType) {
        this.editorType = editorType;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getViewCount() {
        return viewCount;
    }

    public void setViewCount(Long viewCount) {
        this.viewCount = viewCount;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }
    public void setArticleImg(String articleImg) 
    {
        this.articleImg = articleImg;
    }

    public String getArticleImg() 
    {
        return articleImg;
    }
    public void setArticleExcerpt(String articleExcerpt) 
    {
        this.articleExcerpt = articleExcerpt;
    }

    public String getArticleExcerpt() 
    {
        return articleExcerpt;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleTitle", getArticleTitle())
            .append("articleContent", getArticleContent())
            .append("articleImg", getArticleImg())
            .append("articleExcerpt", getArticleExcerpt())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("categoryId", getCategoryId())
            .append("status", getStatus())
            .append("viewCount ", getViewCount ())
            .toString();
    }
}
